package com.jhj.utils;

public class BmUtil {

	public static String getOrderResumeActionType(String actionType) {
		String actionTypeName = "";
		switch (actionType) {
		case "choose":
			actionTypeName = "推荐中";
			break;
		case "interview":
			actionTypeName = "面试中";
			break;
		case "unchoose":
			actionTypeName = "未选中";

		case "assign":
			actionTypeName = "用户指定";
			break;
		default:
			actionTypeName = "";
		}
		return actionTypeName;
	}

	public static String getServiceAgeName(String serviceAge) {
		String serviceAgeName = "";
		switch (serviceAge) {
		case "0":
			serviceAgeName = "0-1岁";
			break;
		case "1":
			serviceAgeName = "1-2岁";
			break;
		case "2":
			serviceAgeName = "2-3岁";

		case "3":
			serviceAgeName = "3岁以上";
			break;
		default:
			serviceAgeName = "";
		}
		return serviceAgeName;
	}

	public static Integer getLeveFullOrder(Integer level) {
		Integer num = 0;
		switch (level) {
		case 1:
			num = Constants.LEVE_FULL_TOTAL_ORDER_1;
			break;
		case 2:
			num = Constants.LEVE_FULL_TOTAL_ORDER_2;
			break;
		case 3:
			num = Constants.LEVE_FULL_TOTAL_ORDER_3;
			break;
		case 4:
			num = Constants.LEVE_FULL_TOTAL_ORDER_4;
			break;
		default:
			num = 0;

		}

		return num;
	}
	
	public static String getContractStatus(Integer status) {
		String statusName = "";
		switch (status) {
			case 0:
				statusName = "无效";
				break;
			case 1:
				statusName = "有效合同";
				break;
			case 2:
				statusName = "历史合同";
				break;
			case 3:
				statusName = "待审批合同";
				break;
			case 11:
				statusName = "申请退费";
				break;
			case 12:
				statusName = "主管初审";
				break;
			case 13:
				statusName = "财务复审";
				break;
			default:
				statusName = "";
		}
		return statusName;
	}
	
	public static String getContractPayTypeName(Integer payType) {
		String payTypeName = "";
		switch (payType) {
			case 1:
				payTypeName = "支付宝";
				break;
			case 2:
				payTypeName = "微信";
				break;
			case 3:
				payTypeName = "对公转账";
				break;
			case 4:
				payTypeName = "第三方支付";
				break;
			case 5:
				payTypeName = "现金";
				break;
			
			default:
				payTypeName = "";
		}
		return payTypeName;
	}
	
	
	public static String getContractPayTimeName(Integer payTime) {
		String payTimeName = "";
		switch (payTime) {
			case 0:
				payTimeName = "签约";
				break;
			case 1:
				payTimeName = "上户前";
				break;
			case 4:
				payTimeName = "满月";
				break;
			case 3:
				payTimeName = "分期付款 ";
				break;
			default:
				payTimeName = "";
		}
		return payTimeName;
	}

}
